﻿using Engine.Graphics;
using System;

namespace Scenario_Editor.AddinManager
{
    public interface IMaterialEditorControl
    {
        #region Public Events

        event EventHandler MaterialChanged;

        #endregion Public Events

        #region Public Methods

        /// <summary>
        /// Creates a standard material when importing a mesh in the Modelimporter-App
        /// </summary>
        /// <param name="textureName"></param>
        /// <returns></returns>
        IMaterial CreateMaterialFromTextureName(string textureName);

        IMaterial GetMaterial();

        IMaterial GetNewMaterial();

        void SetMaterial(IMaterial material);

        #endregion Public Methods
    }
}